//------------------------------------------------
//		main.c
//	LCD Library Example
//	Arthur Benemann 28/03/2012
//------------------------------------------------
//	Description:
// FIXME
//------------------------------------------------

#include "picDev.h"
#include "LCD/LCD.h"
#include "DELAY/DELAY.h"

//-------------------- Main -----------------------
int main( void)
{
    int i;    

    LEDtris = 0;
    LED = 0;
    AllPinsDigital();

    initLCD();

    putsLCD("picDev Test");
    cursorLCD(1,1);
    putsLCD("line2 X");
    cursorLCD(0,12);
    delayms(2000);
    clearLCD();

    // main loop
    while(1)
    {   
        cursorLCD(0,12);
        putLCD(i&0xff);
        putLCD(i++>>8);
	delayms(50);
        LED = 1;
        delayms(50);
        LED = 0;
    };

}



